﻿<%
sub deletediary
id=request.querystring("delid")
set delinroot = diaryl.childNodes.item(id)
set objfilesys=server.createobject("scripting.filesystemobject")
ss=delinroot.childNodes.item(2).text
ss=server.mappath("../"&ss)
objfilesys.deleteFILE ss
diaryl.removeChild(delinroot)
WebsiteXmlDatas.Save(strSourceFile)
%><script language="javascript">
	alert("删除成功。");
	location.href="?Fmenu=diarylist&act=re"
</script><%end sub%>
<%
sub deletekind
set delinroot =  diarykind.childNodes.item(request.querystring("delid"))
diarykind.removeChild(delinroot)
WebsiteXmlDatas.Save(strSourceFile)
set delinroot = nothing%><script language="javascript">
	alert("删除成功。");
	location.href="?Fmenu=kindlist&act=re"
</script><%end sub%> 
<%
sub unsteppul
set delinroot =  PlusDBRoot.childNodes.item(request.querystring("delid"))
PlusDBRoot.removeChild(delinroot)
WebsiteXmlDatas.Save(strSourceFile)
set delinroot = nothing%>
<script language="javascript">
	alert("删除成功。");
	location.href="?Fmenu=style_plus&act=re"
</script>
<%end sub%> 